cmake_minimum_required(VERSION 3.28)
project(sggCproject C)

set(CMAKE_C_STANDARD 11)

add_executable(sggCproject main.c
        chapter01/01_hello.c)

add_executable(01_hello chapter01/01_hello.c
        chapter01/02_commentTest.c
        chapter01/03_helloC.c
        chapter01/04_printf.c
        chapter02/01_IndentifierTest.c
        chapter02/02_VeriableTest.c)
add_executable(main main.c)
add_executable(03_helloC chapter01/03_helloC.c)
add_executable(04_printf chapter01/04_printf.c)
add_executable(01_IndentifierTest chapter02/01_IndentifierTest.c)
add_executable(02_VeriableTest chapter02/02_VeriableTest.c)